package com.cloud.eureka;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author canger
 *  Feign的客户端接口
 * @date 2018/9/14 17:29
 **/
@FeignClient("eureka-client")
public interface DcClient {

    /**
     * @return
     */
    @GetMapping("/dc")
    String consumer();
}
